Skip to contentSkip to conversation

Severe slowdown on Shadow of Mordor between 17.1.0 and 17.1.1

Bug 101278 [email protected] 1 participant 7 messages Jun 2, 2017 – Sep 9, 2018

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=101278

            Bug ID: 101278
           Summary: Severe slowdown on Shadow of Mordor between 17.1.0 and
                    17.1.1
           Product: Mesa
           Version: 17.1
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: [email protected]
          Reporter: [email protected]
        QA Contact: [email protected]

Shadow of Mordor slowed down significantly for me on my notebook between Mesa 17.1.0 and 17.1.1

My system:
Gentoo Linux 64-bit
Dell Precision M4700
Intel i7-3720QM quad-core
16 Gig RAM
AMD FirePro M4000 (Cape Verde, 512su, 1GB DDR5 RAM, 675Mhz)

I then did a bisect to find the commit where the slowdown happened (used the built-in benchmark tool manually, some custom medium-low settings):
35ec26bb00536639b9571f31d8e3f2bcbcfc32fb 30.31fps ad3b5b7f5f7590fd4359ea3483e2309e4cebc472 18.12fps

So the commit that causes the big slowdown:
https://cgit.freedesktop.org/mesa/mesa/commit/?h=17.1&id=ad3b5b7f5f7590fd4359ea3483e2309e4cebc472
seems to be specific to SI, but appears to fix an issue in tessellation. I double-checked, and tessellation is off in the game settings, so I'm surprised this caused a performance difference.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=101278

--- Comment #1 from [email protected] --- Apologies, I forgot some important related details:

I'm on kernel 4.11.1-gentoo right now, but observed the same on 4.10.8 libdrm-2.4.80
llvm-4.0.0-r2
xorg-server-1.19.3
xf86-video-ati-7.9.0
using the "radeon" kernel module.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101278

Nicolai Hähnle <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #2 from Nicolai Hähnle <[email protected]> --- Should be fixed in master since commit 391673af7a.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101278

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #3 from [email protected] ---
Thanks Nicolai for your quick action.

I first built the latest git master: 2e28e8b199abab76fa9509d3247b44a2cb31921d But everything was green, and the game would crash in the menu.

I then built 391673af7ad1565a5f6ac8fc2f8c9fcdd1fe9908 And it worked, but performance is still in the regressed state :-(

The thing is, tessellation was off this whole time.

Please advise?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101278

--- Comment #4 from Nicolai Hähnle <[email protected]> --- Created attachment 131949
--> https://bugs.freedesktop.org/attachment.cgi?id=131949&action=edit
Patch making the conditions even tighter

Odd. Maybe the game lies to you about tessellation being off? Anyway, could you please try the attached patch?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101278

--- Comment #5 from Nicolai Hähnle <[email protected]> --- Created attachment 131950
--> https://bugs.freedesktop.org/attachment.cgi?id=131950&action=edit
Alternative patch

If the patch from the previous comment works, could you please also try this patch as an alternative? Thanks!

If neither work, could you please provide an apitrace?

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw
In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=101278

Timothy Arceri <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

         Resolution|---                         |FIXED
             Status|REOPENED                    |RESOLVED

--- Comment #6 from Timothy Arceri <[email protected]> --- No reply so assuming fixed and closing.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel